INSQUE

Section: C Library Functions (3)
Index Return to Main Contents

BSD mandoc
 

NAME

insque remque - insert/remove element from a queue  

SYNOPSIS

Fd #include <search.h> Ft struct qelem {
Ft struct qelem *q_forw;
Ft struct qelem *q_back;
Ft char q_data[];
Ft };

Ft void Fn insque struct qelem *elem struct qelem *pred Ft void Fn remque struct qelem *elem  

DESCRIPTION

Bf -symbolic These interfaces are available from the compatibility library, libcompat. Ef

Fn insque and Fn remque manipulate queues built from doubly linked lists. Each element in the queue must begin with a "struct qelem".  

DIAGNOSTICS

These functions are not atomic unless that machine architecture allows it.  

HISTORY

These are derived from the insque and remque instructions on a VAX.


 

Index

NAME
SYNOPSIS
DESCRIPTION
DIAGNOSTICS
HISTORY

This document was created by man2html, using the manual pages.
Time: 16:28:57 GMT, April 18, 2022